/*
 * @Description: 参数错误异常
 * @Author: Haor
 * @Date: 2022-04-01 16:26:35
 * @LastEditTime: 2022-04-01 16:26:35
 * @LastEditors: Haor
 */

import { HttpStatus } from '@nestjs/common'
import { BaseException } from './base.exception'
import { ResponseCode } from "@libs/http.result";

export class ParamsException extends BaseException {
    constructor(message: string="参数有误") {
        super(ResponseCode.PARAM_ERROR, message, HttpStatus.BAD_REQUEST)
    }
}
